package cn.edu.scau.disk.service;

import cn.edu.scau.disk.exception.CommonException;

public interface UserService {
    String login(String username,String password) throws CommonException;
    void register(String username,String password,String confimpass) throws CommonException;
    void logout(String token);
    void resetPwd(Integer userId,String oldPwd,String newPwd,String confirmPwd) throws CommonException;
}
